package com.dd.shop4j.goods.model;



/**
 * goods_categ - 商品分类
 * 
 * @author 唐小恕 2013-08-29
 * @version 1.0 
 */
public class GoodsCateg {
	/**
	 * int(0)
	 * 分类id
	 * 主键字段
	 * 字段不允许为空
	 */
	private Integer id;
	/**
	 * varchar(10)
	 * 分类code
	 */
	private String code;
	/**
	 * varchar(20)
	 * 分类名
	 */
	private String name;
	/**
	 * int(0)
	 * 排序
	 */
	private Integer sortOrder;
	/**
	 * int(0)
	 * 父节点
	 */
	private Integer parentId;
	/**
	 * varchar(30)
	 * 样式
	 */
	private String nameStyle;
	/**
	 * varchar(100)
	 * SEO关键字
	 */
	private String seoKeyword;
	/**
	 * varchar(200)
	 * SEO描述
	 */
	private String seoDescription;

	/**
	 * 自定义属性，给comboxTree属性用
	 * @return
	 */
	public String getText() {
		return name;
	}
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getSortOrder() {
		return sortOrder;
	}

	public void setSortOrder(Integer sortOrder) {
		this.sortOrder = sortOrder;
	}

	public Integer getParentId() {
		return parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	public String getNameStyle() {
		return nameStyle;
	}

	public void setNameStyle(String nameStyle) {
		this.nameStyle = nameStyle;
	}

	public String getSeoKeyword() {
		return seoKeyword;
	}

	public void setSeoKeyword(String seoKeyword) {
		this.seoKeyword = seoKeyword;
	}

	public String getSeoDescription() {
		return seoDescription;
	}

	public void setSeoDescription(String seoDescription) {
		this.seoDescription = seoDescription;
	}

}